﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BallData
{
    public class MatchItemDetail
    {
        public MatchItemDetail(String infostr)
        {
            var infoArr = infostr.Split(OddsUntil.SplitColumn);
            this.mId = infoArr[0];
            this.lId = infoArr[1];
            this.koTimeUTC = infoArr[2];
            this.koTime = this.koTimeUTC;
            this.statusId = infoArr[3];
            this.seasonId = infoArr[4];
            this.levelId = infoArr[5];
            this.groupId = infoArr[6];
            this.roundNum = infoArr[7];
            this.t1Score = infoArr[8];
            this.t2Score = infoArr[9];
            this.t1HalfScore = infoArr[10];
            this.t2HalfScore = infoArr[11];
            this.t1Id = infoArr[12];
            this.t1CnName = infoArr[13];
            this.t1TrName = infoArr[14];
            this.t1EnName = infoArr[15];
            this.t1Position = infoArr[16];
            this.t1Logo = infoArr[17];
            this.t2Id = infoArr[18];
            this.t2CnName = infoArr[19];
            this.t2TrName = infoArr[20];
            this.t2EnName = infoArr[21];
            this.t2Position = infoArr[22];
            this.t2Logo = infoArr[23];
            this.lCnName = infoArr[24];
            this.lTrName = infoArr[25];
            this.lEnName = infoArr[26];
            this.seasonType = infoArr[27];
            this.place = infoArr[28];
        }
        
        public String mId;
        public String lId;
        public String koTimeUTC;
        public String koTime;
        public String statusId;
        public String seasonId;
        public String levelId;
        public String groupId;
        public String roundNum;
        public String t1Score;
        public String t2Score;
        public String t1HalfScore;
        public String t2HalfScore;
        public String t1Id;
        public String t1CnName;
        public String t1TrName;
        public String t1EnName;
        public String t1Position;
        public String t1Logo;
        public String t2Id;
        public String t2CnName;
        public String t2TrName;
        public String t2EnName;
        public String t2Position;
        public String t2Logo;
        public String lCnName;
        public String lTrName;
        public String lEnName;
        public String seasonType;
        public String place;
    }
}
